<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!--
 ~ Copyright (c) 2005-2010, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
 ~
 ~ WSO2 Inc. licenses this file to you under the Apache License,
 ~ Version 2.0 (the "License"); you may not use this file except
 ~ in compliance with the License.
 ~ You may obtain a copy of the License at
 ~
 ~    http://www.apache.org/licenses/LICENSE-2.0
 ~
 ~ Unless required by applicable law or agreed to in writing,
 ~ software distributed under the License is distributed on an
 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 ~ KIND, either express or implied.  See the License for the
 ~ specific language governing permissions and limitations
 ~ under the License.
 -->
<html>
<head>
    <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"/>
    <title>Manage Message Stores - User Guide</title>
    <link href="../../admin/css/documentation.css" rel="stylesheet" type="text/css" media="all"/>
</head>


<body>
<h1>Manage Message Stores</h1>

The Message Stores acts as storage for ESB messages.Store mediator can be used To Store messages
That are going through the ESB Mediation Path.

<ol>
    <li>In the navigator, under Manage/Service Bus, click <span
            style="font-weight: bold;">Message Stores</span>.The <span
            style="font-weight: bold; font-style: italic;">Manage Message Stores
  </span> page appears.
    </li>
    <br/>
    <div class="image">
        <a name="1"><img alt="" src="images/message_store_index.png"/></a>

        <p>Figure 1: Message Store option types </p>
    </div>
</ol>


<h2>Adding Message Stores</h2>

<h3>Adding an In-Memory Message Store</h3>

<ol>
    <li>Click <strong>Add In Memory Message Store</strong> link.
        The <strong>Add In Memory Message Store</strong> page appears.
    </li>
    <p></p>

    <div class="image">
        <a name="1"><img alt="" src="images/inmemory_store.png"/></a>

        <p>Figure 2: Adding In-Memory Message Store</p>
    </div>

    <li>Enter the required details, and click <strong>Save</strong>.
        The <em><strong>Manage Message Stores</strong></em> page will
        display the added Message Store.
    </li>

    <p></p>

    <div class="image">
        <a name="2"><img alt="" src="images/inmemory_list.png"/></a>

        <p>Figure 3: Message Store List</p>
    </div>
</ol>


<h3>Adding a JMS Message Store</h3>

<ol>
    <li>Click <strong>Add JMS Message Store</strong> link.
        The <strong>Add JMS Message Store</strong> page appears.
    </li>
    <p></p>

    <div class="image">
        <a name="1"><img alt="" src="images/jmsMS_store.png"/></a>

        <p>Figure 4: Adding JMS Message Store</p>
    </div>

    <li>Enter the required details, and click <strong>Save</strong>.
        The <em><strong>Manage Message Stores</strong></em> page will
        display the added Message Store.
    </li>

    <p></p>

    <div class="image">
        <a name="2"><img alt="" src="images/jmsMS_list.png"/></a>

        <p>Figure 5: Message Store List</p>
    </div>
</ol>

<h3>Adding a Custom Message Store</h3>

<ol>
    <li>Click <strong>Add Custom Message Store</strong> link.
        The <strong>Add Custom Message Store</strong> page appears.
        You can add parameters to the message store by giving a Name and Value to <strong>Message Store
            Parameters</strong> and
        clicking <strong>Add Parameter</strong> button.
    </li>
    <p></p>

    <div class="image">
        <a name="1"><img alt="" src="images/custom_store.png"/></a>

        <p>Figure 6: Adding Custom Message Store</p>
    </div>

    <li>Enter the required details, and click <strong>Save</strong>.
        The <em><strong>Manage Message Stores</strong></em> page will
        display the added Message Store.
    </li>

    <p></p>

    <div class="image">
        <a name="2"><img alt="" src="images/customMS_list.png"/></a>

        <p>Figure 7: Message Store List</p>
    </div>
</ol>


<h2>Message Store Operations</h2>
<ol>
    <li>When you click on an added Message Store list item, it will direct you to a page
        where Listed
        Messages appears. You can <strong>delete</strong> a message or <strong>delete all messages</strong> in a store.
    </li>

    <p></p>

    <div class="image">
        <a name="3"><img alt="" src="images/message_list.png"/></a>

        <p>Figure 8: Messages List</p>
    </div>

    <li>When you click <strong>Show Envelope</strong> of a message, the message content will be displayed.
    </li>

    <p></p>

    <div class="image">
        <a name="5"><img alt="" src="images/message_envelope.png"/></a>

        <p>Figure 9: View Message Content</p>
    </div>
</ol>

</body>

</html>